SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a542e2b929607119ab0229ec79e9f4dbab06bdea928333c21f25e2d67988818d' 
  AND token = 'YRr4Xk2RtchNdvrMcKfBM2XWljkD5Mk7d5j0b6HEUxg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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