SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1c6eb562df4a2f5692e6be8029e720494d330f9bfbc05671a7295d725e0216f' 
  AND token = '9hH5HdggPZq20iqDZg3jkxTOr3+K5khY2Xd/1nkOB/4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}