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

Query time 0.00030

JSON explain

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