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

Query time 0.00039

JSON explain

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