SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5015580a39b9fff5a8a0fb1ce6a0af1f35000ac31c40a7b0b93a3c5d80e5147c' 
  AND token = 'Wd8xBDJKF00ajqDO6XLtYLCRdHJSyMVGH3GUvJYjZnw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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