SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6b8a8ce6592e1b7602f811f158185e1ca8c1f5acce0f9956011eec68927f146c' 
  AND token = 'YUt/Ng9j6qgLBvK/Vh7qmA1gcvdbYDHY5Ly82aYSmIw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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