SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '796d0b73ecf41d105e9e108bfe4ee62b33ca6caa48927aac1d8eb614017cff89' 
  AND token = 'xC1f8QsEB/QOcxyRkRMhp2Y1ra2Uv1A/5yajc8RGfUU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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