SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '887207e61bc3bd0f21df48ceb27580fc889c69a2f05b1dd6a833a3998f63e7a5' 
  AND token = 'o7bvI4ifoFdQFhiJ7ydm5rUo/XNp6VM1vJpXAffjlDQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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