SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5bbd931fdd1c3439a4a1246c6ef808df4ba96a119d17b1d77953100e8b4a4317' 
  AND token = 'EoTcZ1aGQU2C70T4E4z16AVfwD4doOjtO0LJ/gaYBo8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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